Version

Descendants(Func<SyntaxNode,Boolean>,Boolean) Method

Gets the list of descendent nodes of the SyntaxNode.
Syntax
'Declaration
 
Public Overloads Function Descendants( _
   Optional ByVal descendIntoChildrenFilter As Func(Of SyntaxNode,Boolean), _
   Optional ByVal descendIntoIgnoredContent As Boolean _
) As IEnumerable(Of SyntaxNode)

Parameters

descendIntoChildrenFilter
A filter for indicating whether the list should include any descendents of the specified node.
descendIntoIgnoredContent
Indicates whether to include the nodes from structured ignored content.

Return Value

The list of descendent nodes of the SyntaxNode.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also